package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 印章详细对象 seal_detail
 * 
 * @author ess
 * @date 2021-10-26
 */
public class SealDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String sealDetailId;

    /** 印章编码 */
    @Excel(name = "印章编码")
    private String sealCode;

    /** 印章名称 */
    @Excel(name = "印章名称")
    private String sealName;

    /** 印章图片id */
    @Excel(name = "印章图片id")
    private String sealImgId;

    /** 印章证书id */
    @Excel(name = "印章证书id")
    private String sealCertId;

    /** 印章类型id */
    @Excel(name = "印章类型id")
    private String sealTypeId;

    /** 如果此印章为签名印章，则此字段不为空。签名所属人的信息 */
    @Excel(name = "如果此印章为签名印章，则此字段不为空。签名所属人的信息")
    private String sealPersonId;

    /** 印章有效期起始时间 */
    @Excel(name = "印章有效期起始时间")
    private String sealStartTime;

    /** 印章有效期结束时间 */
    @Excel(name = "印章有效期结束时间")
    private String sealEndTime;

    /** 设备编码（政务平台制章） */
    @Excel(name = "设备编码", readConverterExp = "政=务平台制章")
    private String deviceCode;

    /** 是否UK，0，软证书印章，1，实体USBKEY印章 */
    @Excel(name = "是否UK，0，软证书印章，1，实体USBKEY印章")
    private Long isUk;

    /** 印章标准表主键 */
    @Excel(name = "印章标准表主键")
    private Integer sealStandard;

    /** BASE64 编码的应用维护对称密钥密文 */
    @Excel(name = "BASE64 编码的应用维护对称密钥密文")
    private String appSymKeyEnc;

    /** BASE64 编码的数据加密对称密钥密文 */
    @Excel(name = "BASE64 编码的数据加密对称密钥密文")
    private String dataSymKeyEnc;

    /** 公安下发的加密文件 */
    @Excel(name = "公安下发的加密文件")
    private String encFile;

    /** 存放uk中的印章信息 */
    @Excel(name = "存放uk中的印章信息")
    private String usbKeyInfo;

    /** 印章信息的签名值 */
    @Excel(name = "印章信息的签名值")
    private String signature;

    /** 制作时间 */
    @Excel(name = "制作时间")
    private String inputTime;

    /** 制作人用户id */
    @Excel(name = "制作人用户id")
    private String inputUserId;

    /** 印章的状态 */
    @Excel(name = "印章的状态")
    private Long state;

    /** uk类型 */
    @Excel(name = "uk类型")
    private Long ukType;

    /** USBKEY标识 */
    @Excel(name = "USBKEY标识")
    private String ukId;

    private SealImg sealImg;

    private Certificate certificate;

    public void setSealDetailId(String sealDetailId) 
    {
        this.sealDetailId = sealDetailId;
    }

    public String getSealDetailId() 
    {
        return sealDetailId;
    }
    public void setSealCode(String sealCode) 
    {
        this.sealCode = sealCode;
    }

    public String getSealCode() 
    {
        return sealCode;
    }
    public void setSealName(String sealName) 
    {
        this.sealName = sealName;
    }

    public String getSealName() 
    {
        return sealName;
    }
    public void setSealImgId(String sealImgId) 
    {
        this.sealImgId = sealImgId;
    }

    public String getSealImgId() 
    {
        return sealImgId;
    }
    public void setSealCertId(String sealCertId) 
    {
        this.sealCertId = sealCertId;
    }

    public String getSealCertId() 
    {
        return sealCertId;
    }
    public void setSealTypeId(String sealTypeId) 
    {
        this.sealTypeId = sealTypeId;
    }

    public String getSealTypeId() 
    {
        return sealTypeId;
    }
    public void setSealPersonId(String sealPersonId) 
    {
        this.sealPersonId = sealPersonId;
    }

    public String getSealPersonId() 
    {
        return sealPersonId;
    }
    public void setSealStartTime(String sealStartTime) 
    {
        this.sealStartTime = sealStartTime;
    }

    public String getSealStartTime() 
    {
        return sealStartTime;
    }
    public void setSealEndTime(String sealEndTime) 
    {
        this.sealEndTime = sealEndTime;
    }

    public String getSealEndTime() 
    {
        return sealEndTime;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setIsUk(Long isUk) 
    {
        this.isUk = isUk;
    }

    public Long getIsUk() 
    {
        return isUk;
    }
    public void setSealStandard(Integer sealStandard) 
    {
        this.sealStandard = sealStandard;
    }

    public Integer getSealStandard() 
    {
        return sealStandard;
    }
    public void setAppSymKeyEnc(String appSymKeyEnc) 
    {
        this.appSymKeyEnc = appSymKeyEnc;
    }

    public String getAppSymKeyEnc() 
    {
        return appSymKeyEnc;
    }
    public void setDataSymKeyEnc(String dataSymKeyEnc) 
    {
        this.dataSymKeyEnc = dataSymKeyEnc;
    }

    public String getDataSymKeyEnc() 
    {
        return dataSymKeyEnc;
    }
    public void setEncFile(String encFile) 
    {
        this.encFile = encFile;
    }

    public String getEncFile() 
    {
        return encFile;
    }
    public void setUsbKeyInfo(String usbKeyInfo) 
    {
        this.usbKeyInfo = usbKeyInfo;
    }

    public String getUsbKeyInfo() 
    {
        return usbKeyInfo;
    }
    public void setSignature(String signature) 
    {
        this.signature = signature;
    }

    public String getSignature() 
    {
        return signature;
    }
    public void setInputTime(String inputTime) 
    {
        this.inputTime = inputTime;
    }

    public String getInputTime() 
    {
        return inputTime;
    }
    public void setInputUserId(String inputUserId) 
    {
        this.inputUserId = inputUserId;
    }

    public String getInputUserId() 
    {
        return inputUserId;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setUkType(Long ukType) 
    {
        this.ukType = ukType;
    }

    public Long getUkType() 
    {
        return ukType;
    }
    public void setUkId(String ukId) 
    {
        this.ukId = ukId;
    }

    public String getUkId() 
    {
        return ukId;
    }

    public SealImg getSealImg() {
        return sealImg;
    }

    public void setSealImg(SealImg sealImg) {
        this.sealImg = sealImg;
    }

    public Certificate getCertificate() {
        return certificate;
    }

    public void setCertificate(Certificate certificate) {
        this.certificate = certificate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sealDetailId", getSealDetailId())
            .append("sealCode", getSealCode())
            .append("sealName", getSealName())
            .append("sealImgId", getSealImgId())
            .append("sealCertId", getSealCertId())
            .append("sealTypeId", getSealTypeId())
            .append("sealPersonId", getSealPersonId())
            .append("sealStartTime", getSealStartTime())
            .append("sealEndTime", getSealEndTime())
            .append("deviceCode", getDeviceCode())
            .append("isUk", getIsUk())
            .append("sealStandard", getSealStandard())
            .append("appSymKeyEnc", getAppSymKeyEnc())
            .append("dataSymKeyEnc", getDataSymKeyEnc())
            .append("encFile", getEncFile())
            .append("usbKeyInfo", getUsbKeyInfo())
            .append("signature", getSignature())
            .append("inputTime", getInputTime())
            .append("inputUserId", getInputUserId())
            .append("state", getState())
            .append("ukType", getUkType())
            .append("ukId", getUkId())
            .toString();
    }
}
